/**
 * 
 */
package org.softTank.BC.data;

import java.util.ArrayList;
import java.util.List;

import org.softTank.BC.rs.bean.ServiceBean;

/**
 * @author Yuzone
 *
 */
public class ServiceData {

	public static List<ServiceBean> getTestServices(int num) {
		if (num == -1)
			return null;
		List<ServiceBean> sbList = new ArrayList<ServiceBean>();
		for (int n = 0; n < num; n++) {
			ServiceBean sb = new ServiceBean();
			sb.setName("service" + n);
			sbList.add(sb);
		}

		return sbList;
	}

	public static ServiceBean getTestService() {
		ServiceBean sb = new ServiceBean();
		sb.setName("service");
		return sb;
	}
}
